#ifndef NMC_PENCOMMAND_HPP
#define NMC_PENCOMMAND_HPP

#include "tilemap.hpp"

#include "editor/command.hpp"

namespace nmc
{
    class PenCommand: public Command
    {
    public:
        PenCommand(TileMap* tileMap, int x, int y, int tile, int tileFlags);
        void execute();
        void undo();

    protected:
        TileMap* mTileMap;
        int mX;
        int mY;
        int mTile;
        int mOldTile;
        int mTileFlags;
        int mOldTileFlags;
    };
}
#endif